/**
 */
package org.cmoine.perspectiveshare.model.util;

import org.cmoine.perspectiveshare.model.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see org.cmoine.perspectiveshare.model.PerspectivesPackage
 * @generated
 */
public class PerspectivesAdapterFactory extends AdapterFactoryImpl {
    /**
     * The cached model package.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    protected static PerspectivesPackage modelPackage;

    /**
     * Creates an instance of the adapter factory.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public PerspectivesAdapterFactory() {
        if (modelPackage == null) {
            modelPackage = PerspectivesPackage.eINSTANCE;
        }
    }

    /**
     * Returns whether this factory is applicable for the type of the object.
     * <!-- begin-user-doc -->
     * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
     * <!-- end-user-doc -->
     * @return whether this factory is applicable for the type of the object.
     * @generated
     */
    @Override
    public boolean isFactoryForType(Object object) {
        if (object == modelPackage) {
            return true;
        }
        if (object instanceof EObject) {
            return ((EObject)object).eClass().getEPackage() == modelPackage;
        }
        return false;
    }

    /**
     * The switch that delegates to the <code>createXXX</code> methods.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    protected PerspectivesSwitch<Adapter> modelSwitch =
        new PerspectivesSwitch<Adapter>() {
            @Override
            public Adapter caseAlwaysOffActionSetType(AlwaysOffActionSetType object) {
                return createAlwaysOffActionSetTypeAdapter();
            }
            @Override
            public Adapter caseAlwaysOnActionSetType(AlwaysOnActionSetType object) {
                return createAlwaysOnActionSetTypeAdapter();
            }
            @Override
            public Adapter caseDescriptorType(DescriptorType object) {
                return createDescriptorTypeAdapter();
            }
            @Override
            public Adapter caseDocumentRoot(DocumentRoot object) {
                return createDocumentRootAdapter();
            }
            @Override
            public Adapter caseFastViewsType(FastViewsType object) {
                return createFastViewsTypeAdapter();
            }
            @Override
            public Adapter caseFolderType(FolderType object) {
                return createFolderTypeAdapter();
            }
            @Override
            public Adapter caseHideToolbarItemIdType(HideToolbarItemIdType object) {
                return createHideToolbarItemIdTypeAdapter();
            }
            @Override
            public Adapter caseInfoType(InfoType object) {
                return createInfoTypeAdapter();
            }
            @Override
            public Adapter caseLayoutType(LayoutType object) {
                return createLayoutTypeAdapter();
            }
            @Override
            public Adapter caseMainWindowType(MainWindowType object) {
                return createMainWindowTypeAdapter();
            }
            @Override
            public Adapter caseNewWizardActionType(NewWizardActionType object) {
                return createNewWizardActionTypeAdapter();
            }
            @Override
            public Adapter casePageType(PageType object) {
                return createPageTypeAdapter();
            }
            @Override
            public Adapter casePartType(PartType object) {
                return createPartTypeAdapter();
            }
            @Override
            public Adapter casePerspectiveActionType(PerspectiveActionType object) {
                return createPerspectiveActionTypeAdapter();
            }
            @Override
            public Adapter casePerspectiveType(PerspectiveType object) {
                return createPerspectiveTypeAdapter();
            }
            @Override
            public Adapter casePresentationType(PresentationType object) {
                return createPresentationTypeAdapter();
            }
            @Override
            public Adapter caseShowInTimeType(ShowInTimeType object) {
                return createShowInTimeTypeAdapter();
            }
            @Override
            public Adapter caseShowViewActionType(ShowViewActionType object) {
                return createShowViewActionTypeAdapter();
            }
            @Override
            public Adapter caseViewType(ViewType object) {
                return createViewTypeAdapter();
            }
            @Override
            public Adapter caseViewType1(ViewType1 object) {
                return createViewType1Adapter();
            }
            @Override
            public Adapter caseWindowType(WindowType object) {
                return createWindowTypeAdapter();
            }
            @Override
            public Adapter defaultCase(EObject object) {
                return createEObjectAdapter();
            }
        };

    /**
     * Creates an adapter for the <code>target</code>.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @param target the object to adapt.
     * @return the adapter for the <code>target</code>.
     * @generated
     */
    @Override
    public Adapter createAdapter(Notifier target) {
        return modelSwitch.doSwitch((EObject)target);
    }


    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.AlwaysOffActionSetType <em>Always Off Action Set Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.AlwaysOffActionSetType
     * @generated
     */
    public Adapter createAlwaysOffActionSetTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.AlwaysOnActionSetType <em>Always On Action Set Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.AlwaysOnActionSetType
     * @generated
     */
    public Adapter createAlwaysOnActionSetTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.DescriptorType <em>Descriptor Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.DescriptorType
     * @generated
     */
    public Adapter createDescriptorTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.DocumentRoot <em>Document Root</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.DocumentRoot
     * @generated
     */
    public Adapter createDocumentRootAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.FastViewsType <em>Fast Views Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.FastViewsType
     * @generated
     */
    public Adapter createFastViewsTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.FolderType <em>Folder Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.FolderType
     * @generated
     */
    public Adapter createFolderTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.HideToolbarItemIdType <em>Hide Toolbar Item Id Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.HideToolbarItemIdType
     * @generated
     */
    public Adapter createHideToolbarItemIdTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.InfoType <em>Info Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.InfoType
     * @generated
     */
    public Adapter createInfoTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.LayoutType <em>Layout Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.LayoutType
     * @generated
     */
    public Adapter createLayoutTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.MainWindowType <em>Main Window Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.MainWindowType
     * @generated
     */
    public Adapter createMainWindowTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.NewWizardActionType <em>New Wizard Action Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.NewWizardActionType
     * @generated
     */
    public Adapter createNewWizardActionTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.PageType <em>Page Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.PageType
     * @generated
     */
    public Adapter createPageTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.PartType <em>Part Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.PartType
     * @generated
     */
    public Adapter createPartTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.PerspectiveActionType <em>Perspective Action Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.PerspectiveActionType
     * @generated
     */
    public Adapter createPerspectiveActionTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.PerspectiveType <em>Perspective Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.PerspectiveType
     * @generated
     */
    public Adapter createPerspectiveTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.PresentationType <em>Presentation Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.PresentationType
     * @generated
     */
    public Adapter createPresentationTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.ShowInTimeType <em>Show In Time Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.ShowInTimeType
     * @generated
     */
    public Adapter createShowInTimeTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.ShowViewActionType <em>Show View Action Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.ShowViewActionType
     * @generated
     */
    public Adapter createShowViewActionTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.ViewType <em>View Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.ViewType
     * @generated
     */
    public Adapter createViewTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.ViewType1 <em>View Type1</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.ViewType1
     * @generated
     */
    public Adapter createViewType1Adapter() {
        return null;
    }

    /**
     * Creates a new adapter for an object of class '{@link org.cmoine.perspectiveshare.model.WindowType <em>Window Type</em>}'.
     * <!-- begin-user-doc -->
     * This default implementation returns null so that we can easily ignore cases;
     * it's useful to ignore a case when inheritance will catch all the cases anyway.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @see org.cmoine.perspectiveshare.model.WindowType
     * @generated
     */
    public Adapter createWindowTypeAdapter() {
        return null;
    }

    /**
     * Creates a new adapter for the default case.
     * <!-- begin-user-doc -->
     * This default implementation returns null.
     * <!-- end-user-doc -->
     * @return the new adapter.
     * @generated
     */
    public Adapter createEObjectAdapter() {
        return null;
    }

} //PerspectivesAdapterFactory
